package com.ijiuchuang.jc_localization.tools.animation;

import android.support.annotation.NonNull;

/**
 * Created by Veev on 2016/6/29
 *
 * @link 384506557@qq.com
 */
public class EaseReactor {

    public static float get(@NonNull Ease ease, float input) {
        switch (ease) {
            case LINEAR_IN:
                return input;
            case LINEAR_OUT:
                return 1.0f - input;
            default:
                return 0f;
        }
    }
}
